package com.zx.service.user;

import com.zx.dto.request.user.UserDtoReq;
import com.zx.model.user.User;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {

    User login(UserDtoReq dtoReq, HttpServletResponse response);

    User queryUser(String userToken);

    boolean updataUser(UserDtoReq userDtoReq,String userToken);
}
